#!/usr/bin/env bash
java -classpath "/usr/share/java/umlgraph.jar:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/lib/tools.jar" org.umlgraph.doclet.UmlGraph \
    -qualify                    \
    -hide java.*                \
    -useimports                 \
    -postfixpackage             \
    -horizontal                 \
    -visibility -private -types \
    -inferrel                   \
    -encoding UTF8              \
    -nodefillcolor LightGray    \
    -output diagramme.dot $(find src/ -name '*.java')
dot -Tpng -odiagramme.png diagramme.dot
